package com.hz.zbl.service;

import com.hz.zbl.model.request.ApiResponse;

public interface UserManagerService {

    int addGrade(String grade_name, String grade_year);

    int addClass(String class_name, Integer grade_id);

    int addManager(String username, String realname, String password);

    int addTeacher(String username, String realname, String password, Integer teacher_id);

    int addStudent(String username, String realname, String password, int student_id, Integer class_id, Integer grade_id);


    String login(String username, String password, Integer user_type);


    int logout(String username);

    int changePwd(int id, String orignPwd, String newPwd, String newPwdConfirm);
}
